//
// Created by Administrator on 2021/8/5.
//

#ifndef OPENGLLEARN_COMMON_H
#define OPENGLLEARN_COMMON_H

#include "Constant.h"

#include <iostream>

#define BUFFER_OFFSET(o) (void*)o

// Print Error
#define ERROR(e) std::cerr << "[Error]: " << e << std::endl;
#define LOG(msg) std::cout << "[Log]: " << msg << std::endl;

#endif //OPENGLLEARN_COMMON_H
